package com.ourteam.system.dao;

import net.dao.IDataAccessInterface;


/**
 * Template Name : DAO接口模板
 * Template Version : 1
 * Template Last Modfiy Date : Thu Sep 21 11:14:14 CST 2017
 * Auto Generate Date : 2018-07-31 15:13:18
  * Warning ! This file will be overwrite when regenerate !
  *
 */
public interface IBaseSysRoleModuleRelateDAO extends IDataAccessInterface<SysRoleModuleRelate, SysRoleModuleRelateDAOQueryBean> {
    /**
        *  Mapped Entity Name
        */
    static final String EntityName = "SYS_ROLE_MODULE_RELATE";

    /**
     * Mapped Field ID
    */
    static final String Id = "SYS_ROLE_MODULE_RELATE.ID";

    /**
     * Mapped Field MODULE_ID
    */
    static final String ModuleId = "SYS_ROLE_MODULE_RELATE.MODULE_ID";

    /**
     * Mapped Field REMARKS
    */
    static final String Remarks = "SYS_ROLE_MODULE_RELATE.REMARKS";

    /**
     * Mapped Field ROLE_ID
    */
    static final String RoleId = "SYS_ROLE_MODULE_RELATE.ROLE_ID";

    /**
     * Mapped Field STATUS
    */
    static final String Status = "SYS_ROLE_MODULE_RELATE.STATUS";

    /**
     * Mapped Attribute parentModuleId
    */
    static final String ParentModuleId = org.apache.commons.lang.StringUtils.replace(com.ourteam.system.dao.ISysModuleDAO.ParentModuleId,
            com.ourteam.system.dao.ISysModuleDAO.EntityName + ".", "SYS_MODULE.");

    /**
     * Mapped Attribute domainId
    */
    static final String DomainId = org.apache.commons.lang.StringUtils.replace(com.ourteam.system.dao.ISysModuleDAO.DomainId,
            com.ourteam.system.dao.ISysModuleDAO.EntityName + ".", "SYS_MODULE.");

    /**
     * Mapped Attribute moduleSortIndex
    */
    static final String ModuleSortIndex = org.apache.commons.lang.StringUtils.replace(com.ourteam.system.dao.ISysModuleDAO.SortIndex,
            com.ourteam.system.dao.ISysModuleDAO.EntityName + ".", "SYS_MODULE.");

    /**
     * Mapped Attribute moduleCode
    */
    static final String ModuleCode = org.apache.commons.lang.StringUtils.replace(com.ourteam.system.dao.ISysModuleDAO.ModuleCode,
            com.ourteam.system.dao.ISysModuleDAO.EntityName + ".", "SYS_MODULE.");

    /**
     * Mapped Attribute domainCode
    */
    static final String DomainCode = org.apache.commons.lang.StringUtils.replace(com.ourteam.system.dao.ISysDomainDAO.DomainCode,
            com.ourteam.system.dao.ISysDomainDAO.EntityName + ".", "SYS_DOMAIN.");

    /**
     * Delete Data
     * @param final long id
     * @throws Exception
     */
    void delete(final long id) throws Exception;

    /**
         * Find Data By Primary Key
         * @param  final long id
         * @throws Exception
         */
    SysRoleModuleRelate findById(final long id) throws Exception;

    /**
         * Query Related SysModule
         * @param aQueryBean
         * @throws Exception
         */
    com.ourteam.system.dao.SysModule[] querySysModule(
        final SysRoleModuleRelateDAOQueryBean queryBean)
        throws Exception;

    /**
         * Query Related SysModule Selective
         * @param queryBean
         * @throws Exception
         */
    java.util.Map<String, Object>[] querySysModuleSelective(
        final SysRoleModuleRelateDAOQueryBean queryBean)
        throws Exception;

    /**
         * Update Related SysModule
         * @param aSysModule
         * @param queryBean
         * @throws Exception
         */
    void updateSysModule(final com.ourteam.system.dao.SysModule aSysModule,
        SysRoleModuleRelateDAOQueryBean queryBean) throws Exception;

    /**
         * Delete Related SysModule
         * @param queryBean
         * @throws Exception
         */
    void deleteSysModule(final SysRoleModuleRelateDAOQueryBean queryBean)
        throws Exception;

    /**
         * Query Related SysRole
         * @param aQueryBean
         * @throws Exception
         */
    com.ourteam.system.dao.SysRole[] querySysRole(
        final SysRoleModuleRelateDAOQueryBean queryBean)
        throws Exception;

    /**
         * Query Related SysRole Selective
         * @param queryBean
         * @throws Exception
         */
    java.util.Map<String, Object>[] querySysRoleSelective(
        final SysRoleModuleRelateDAOQueryBean queryBean)
        throws Exception;

    /**
         * Update Related SysRole
         * @param aSysRole
         * @param queryBean
         * @throws Exception
         */
    void updateSysRole(final com.ourteam.system.dao.SysRole aSysRole,
        SysRoleModuleRelateDAOQueryBean queryBean) throws Exception;

    /**
         * Delete Related SysRole
         * @param queryBean
         * @throws Exception
         */
    void deleteSysRole(final SysRoleModuleRelateDAOQueryBean queryBean)
        throws Exception;

    static public interface DataProperty {
        /**
         * Attribute domainCode
         */
        static final String DomainCode = "domainCode";

        /**
         * Attribute moduleCode
         */
        static final String ModuleCode = "moduleCode";

        /**
         * Attribute parentModuleId
         */
        static final String ParentModuleId = "parentModuleId";

        /**
         * Attribute domainId
         */
        static final String DomainId = "domainId";

        /**
         * Attribute moduleSortIndex
         */
        static final String ModuleSortIndex = "moduleSortIndex";

        /**
         * Attribute id
         */
        static final String Id = "id";

        /**
         * Attribute moduleId
         */
        static final String ModuleId = "moduleId";

        /**
         * Attribute remarks
         */
        static final String Remarks = "remarks";

        /**
         * Attribute roleId
         */
        static final String RoleId = "roleId";

        /**
         * Attribute status
         */
        static final String Status = "status";
    }

    static public interface _DataObjectProperty extends DataProperty {
    }
}
